import shutil
import settings


def reset_log_folder():
    shutil.rmtree(settings.log_path, True)
    shutil.rmtree(settings.download_save_path, True)


def reset_archive():
    shutil.rmtree(settings.archive_path, True)


def reset_all():
    reset_log_folder()
    reset_archive()

if __name__ == '__main__':
#    reset_log_folder()
    reset_all()